package bean;

import java.sql.Timestamp;

public class UserBehavior {
    private String userId;
    private String behaviorType;
    private int itemCount;
    private double paymentAmount;
    private Timestamp eventTime;

    public UserBehavior(String userId, String behaviorType, int itemCount, double paymentAmount, Timestamp eventTime) {
        this.userId = userId;
        this.behaviorType = behaviorType;
        this.itemCount = itemCount;
        this.paymentAmount = paymentAmount;
        this.eventTime = eventTime;
    }

    // Getters and Setters
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getBehaviorType() {
        return behaviorType;
    }

    public void setBehaviorType(String behaviorType) {
        this.behaviorType = behaviorType;
    }

    public int getItemCount() {
        return itemCount;
    }

    public void setItemCount(int itemCount) {
        this.itemCount = itemCount;
    }

    public double getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(double paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public Timestamp getEventTime() {
        return eventTime;
    }

    public void setEventTime(Timestamp eventTime) {
        this.eventTime = eventTime;
    }
}